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

Query time 0.00031

JSON explain

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