SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a741684c3f7a393a243df945ee2be807c7af1bb78ac0d8d98d7818873ce013a' 
  AND token = 'WbKYSNlK3pTVXm5Dh+stycd1F96+zepFS71sKwMHF98=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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