SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5414267898f2528a0daa8837442a46bae928f0e0902536e03a5aa6e1215878e' 
  AND token = 'Ji0HUcaDe5f6jcb9ulqQAx7QKPw1DshTpV3Qgg1zcKk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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