SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4d1d4c23ebab1475c157486c258187a1c6964e824786dcb0de3d4671c517d7f' 
  AND token = 'n+yTKzxluDeZLSt8D6Leg0S9OstyctvlrgWpX8B6q/M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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