SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd413577a80eee6de98af601c8a006768a94486a602f47258e65119788b5756a5' 
  AND token = 'XPzEo64bqZCyBPIlUYqoe2QZ5iQ4nuaponkZcl0Wqgg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}