SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf9c493ba17874cc4af9bc8858266d06008265915c0951172d46e2966f80d239' 
  AND token = 'NXooyUOJHM08Ej9A77+VdRkoY2G1wBF2//eiQ1HYMxM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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