SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '400db53e51e9b0c1df9b972f22a5dab3390dafb3194fcbe22ee595fdf2d9f20e' 
  AND token = 'L/PafuD9ugeZ/0Enndyq4ak3hSkX6ra3A9rgzbHeCgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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