SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6bb5af8553a83d68862b82bd8057190f7cc0167750d2b3a5ba60c5761bb5d89f' 
  AND token = 'qrcHFZr0+ehFjuLi5H8oaZDpNbrLE0kuv1tdhgrXtjQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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