SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ffa405490d278b219b5ca48217dd621b4d70261fd2dfdaee7dc45888c7e5a6a' 
  AND token = 'mTzp8fe49gTZB+D8ClyVRQfl3WH8wV8oYQ8P27pZsD8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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