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

Query time 0.00017

JSON explain

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