SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fed6e4c2871e678aada2630197c92f199b3d4a6d4adda316a9371d791a2864eb' 
  AND token = 'SYPDnZJkY8WRQQlpM8C4/3qJAfsze1/r4YHTeErlQ/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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