SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a5ebb04ba60b02a835147d6845438683a56f81532ea68bb6658ed7bbc6882b1' 
  AND token = 'HpMC+UMjI7jgxlkTyUo+Ei5O8LwqYC/Tnd1gKniaE6c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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