SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9eb6ef9baf7455b70828b21b0f4d12a6d74e5faf999815c37de20acbe940e3df' 
  AND token = 'eC3H4m3Yuu5qM+0rDKOPwi2cja1riqPI0frmr0/75OQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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