SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0b098361e2393668e0ea30cfb31b6b241846530746a13961f673d2a2a41bd495' 
  AND token = 'e+Gbf2O/UGttBZ0EbCIL0Gyjc/vCWbspG7W+LgpsfXc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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