SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd80c1510cdeff78818eebb8a6222ba613e44f26902ea605ccbfcb384630ef655' 
  AND token = '7jjLu7xtz2FVaH2X2gma6ED/gQiR1sSss2EIArYsNq0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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