SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c56d71c3b1bee3dd7093f07e1ebc53402bf5b57f0d36f61e33b86d848271a19' 
  AND token = '8pQQ2HQu0zwWxeUVYq2vPc4bNFWg2Go4qK5M/VDRQNc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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