SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c8ebf7d066297b6d70f0e980dc5a8f57b5ce1015cc7ef531a290cdb90df9816' 
  AND token = 'yAEVfLF7WD3Sv1qBKMItLTg3kPXtMCSvRkJA4Bbi7A8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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