SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54ae80164c8841e3fb8752fcc269bc0f88b834ccec14a30409a804e3173780df' 
  AND token = 'WnNR528+LrCuSLVPsWDoOH0Ml6RR9B7HfBgbYTh+zGE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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