SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '94a942074c1ce998735f8a4e4c288521cff1e3b283dcb64b93709eda7d336c8c' 
  AND token = 'sAtwwWjl8Utn7MVL/zo5+c3isZANVqnsFuSr74C2F34=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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