SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f6af557764a6433ad1c98b54786dbf6845a18e7d9fe1a1db8462c5158085d7dc' 
  AND token = 'wiScQrINBvufkFeMAh1+nbND7RTr9bcCkGamarUE9hc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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