SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5627ff639fb65058a25fabfee4cfa1571871c4706673fdeadb25e20d3c80f21a' 
  AND token = 'Xjyb2dKhWcARVcJX1Q2HE58/DPiQ2SEJNcoHWvAWJ8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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