SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f168e434fa2940253619cbc60d10ec327dcea114199be4daa2d38d4ad6522e84' 
  AND token = 'TbZ5ed8ei9KBgZZAAFWqOxdUpOReyc5Bk2bPxxC/O5s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00078

JSON explain

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