SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0e6008088872a27179cfe36a01973949d798b66384553b1a1246e4a1e32f09c8' 
  AND token = 'Csw9/dh0RvT4Tt7v+EAcLfEsD6Ml1bZGyERuM9knMxs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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