SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3c0a12e06420c7e21c12412f0f930de8a2bd1621ee3bd319d95c38ce528e375' 
  AND token = 'NDdiqY07juH5ABsbkjMTsNrm17c4iGmED6DguoU6nug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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