SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5c39e85ee73f92df85c10077e948467062adee9f258e07d65e011184d9e5f9a' 
  AND token = 'ourxVKSCtD/C4nF/PlNfWQ+ZEzBX3u8PSXLQWc3bh5I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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