SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d37b4b7d31db3cb234122af7743f512d44bc1fcc403eb24457b7ee87555beae' 
  AND token = 'rZpqlb/H9QEYjZjQXiVW2ZJUUObnJrYIXAWRGTjfrVI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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